home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / dskut / brik2src.zip / MAKEFILE.TCC < prev    next >
Text File  |  1989-08-04  |  701b  |  30 lines

  1. # needs NDMAKE (tested with version 4.31), Turbo C 2.0, Turbo Assembler
  2. # (tested with version 1.0).  Can be easily modified to use Micoroft
  3. # assembler instead.  Will work with Borland's make program (tested 
  4. # with version 2.0) if you comment out the .SUFFIXES line.
  5.  
  6. CC = tcc
  7. CFLAGS = -c -DTURBOC -DLINT -DNDEBUG
  8. LD = tcc
  9. LDFLAGS = -eBRIK
  10. AS = tasm
  11. ASFLAGS = -mx
  12.  
  13. # To use Borland's make program, comment out the following line
  14. .SUFFIXES : .exe .obj .asm .c
  15.  
  16. .asm.obj :
  17.     $(AS) $(ASFLAGS) $*.asm
  18.  
  19. .c.obj :
  20.     $(CC) $(CFLAGS) $*.c
  21.  
  22. OBJS = brik.obj initcrc.obj getopt.obj turboc.obj addbfcrc.obj
  23.  
  24. brik.exe: $(OBJS)
  25.     $(LD) $(LDFLAGS) $(OBJS)
  26.  
  27. brik.obj: brik.c brik.h assert.h
  28.  
  29. addbfcrc.obj: addbfcrc.asm
  30.